@import '../assets/css/function.scss';

/* 布局样式表 */

/* 占整屏,处理背景颜色不是默认的时候 */
.full-screen{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
/* flex布局实现固定的顶部或者底部 */
.flex-grid{
  width: 100%;
  width: 100vw;
  height: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
}
.flex-main{
  flex: 1;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
/* 固定的底部 */
.fixed-footer{
  position: fixed;
  left: 0;
  bottom: 0;
  right: 0;
  height: rem(100);
}
/* mask背景 */
.mask{
  position: absolute;
  z-index: 999;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  text-align: center;
  overflow: hidden;
}
.mask-fixed{
  position: absolute;
  z-index: 9;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  text-align: center;
  overflow: hidden;
}